package com.app.service;

import com.app.model.PlanFundsModel;
import com.app.model.StriveFundsModel;
import com.app.model.SystemModel;
import com.app.vo.FundsPlanVo;
import com.app.vo.FundsVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface StriveForFundsService {
    FundsPlanVo fundsList(PlanFundsModel model);

    List<StriveFundsModel> getList();

    int getCountByModel(StriveFundsModel model);

    FundsPlanVo selectPlan(PlanFundsModel model);

    FundsPlanVo selectPlanByTime(PlanFundsModel model);

    FundsPlanVo selectPlanByStatus(PlanFundsModel model);

    FundsVo selectCompletion(StriveFundsModel model);

    FundsVo selectCompletionByTime(StriveFundsModel model);


    void savePlan(PlanFundsModel model);

    void add(StriveFundsModel model);

    void updateFunds(StriveFundsModel model);

    void delete(int id);

    void addPlan(PlanFundsModel model);

    List<SystemModel> getStatusList();

    Double getSumByMonth(String time);

    StriveFundsModel selectCount();

    StriveFundsModel selectOne();

    List<PlanFundsModel> getFundTable();

    FundsPlanVo searchPlan(PlanFundsModel model);
}
